using System.Net;
using Microsoft.WindowsAzure.ServiceRuntime;

namespace AzureContrib.WindowsAzure.ServiceRuntime
{
	/// <summary>
	/// Wrapper contract for <see cref="RoleInstanceEndpoint"/>
	/// </summary>
	public interface IRoleInstanceEndpoint
	{
		/// <summary>
		/// <see cref="RoleInstanceEndpoint.IPEndpoint"/>
		/// </summary>
		IPEndPoint IPEndpoint { get; }

		/// <summary>
		/// <see cref="RoleInstanceEndpoint.Protocol"/>
		/// </summary>
		string Protocol { get; }

		/// <summary>
		/// <see cref="RoleInstanceEndpoint.RoleInstance"/>
		/// </summary>
		IRoleInstance RoleInstance { get; }
	}
}